#!/bin/sh

case $1 in
    8)
	export GRADLE_HOME=~/app/gradle/gradle-8.6
	;;
    7) 
	export GRADLE_HOME=~/app/gradle/gradle-7.6.3
	;;
    6) 
	export GRADLE_HOME=~/app/gradle/gradle-6.8.3
	;;
    *)
	export GRADLE_HOME=~/app/gradle/gradle-7.6.3
	;;

esac

export GRADLE_OPTS=-Xmx2048m
export PATH=$GRADLE_HOME/bin:$PATH
echo "gradle: " $GRADLE_HOME
